package com.woniuxy.exam.service;

import com.woniuxy.commons.entity.Exam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
@author zouyang
@date 2020/7/22 - 20:49
*/
public interface ExamService{

    List<Exam> selectAll();//所有的考试

    List<Exam> selectAllByIsResit(@Param("isResit")Byte isResit);//查询所有的补考

    int deleteByPrimaryKey(Integer id);

    int insert(Exam record);

    int insertSelective(Exam record);

    Exam selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Exam record);

    int updateByPrimaryKey(Exam record);

    List<Exam> selectByAll(Exam record);

}
